package com.wzs.workbench.dao;

import com.wzs.workbench.domain.Comment;

import java.util.List;

public interface CommentMapper {
    int deleteByPrimaryKey(String id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    List<Comment> getCommentListByAid(String novelId);

    int saveRemark(Comment comment);

    int deleteById(String id);

    int updateComment(Comment comment);
}